package com.ocom.common.request.wx;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class MachInfoPageRemoveMachRequest {

    @JsonProperty("companyId")
    @Min(0L)
    @NotNull(message = "companyId 不能为空")
    Long companyId;

    @JsonProperty("pId")
    @Min(1L)
    @NotNull(message = "pId 不能为空")
    Long pId;

    @JsonProperty("machNo")
    @NotBlank(message = "machNo 不能为空")
    String machNo;
}
